<template>
	<view class="">
		<view v-if="shop" class="">
			显示(DOM层注释掉,不加载)
		</view>
		<view v-else class="">
			不显示
		</view>
		<view class="" v-show="true">	
			显示(DOM层只是将display设定为true，即使不显示但已经加载)
		</view>
	</view>
</template>

<script setup>
	import {ref} from "vue";
	const shop = ref(true);
	
</script>

<style lang="scss" scoped>

</style>
